package com.yuanqi.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 退货订单明细表
 * @TableName purchase_return_order_item
 */
@TableName(value = "purchase_return_order_item")
@Data
public class PurchaseReturnOrderItem implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 退货订单ID
     */
    private Long returnOrderId;

    /**
     * 行号
     */
    private Integer lineNo;

    /**
     * 产品ID
     */
    private Long productId;

    /**
     * 退货数量
     */
    private BigDecimal returnQty;

    /**
     * 原单价
     */
    private BigDecimal originalPrice;

    /**
     * 退货金额
     */
    private BigDecimal returnAmount;

    /**
     * 备注
     */
    private String remark;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}

